package com.cetc.nsfx.util;

import java.util.List;
import java.util.Map;

import com.cetc.nsfx.impala.ImpalaDataResult;

public class Test {
	public static void main(String[] args) {
		String sql = "select * from t_dm_zs_tsflzl limit 5" ;
		List<Map<String,Object>> lst = ImpalaDataResult.executeSQL(sql);
		for(Map<String,Object> map : lst){
			for (Map.Entry<String, Object> entry : map.entrySet()) {
				  System.out.println("key= " + entry.getKey() + " and value= " + entry.getValue());
			}
		}
	}
}
